Skip to main content
method ReadableBase.prototype.[Symbol.asyncDispose]
ReadableBase.prototype.[Symbol.asyncDispose](): Promise<void>
Deprecated

Calls readable.destroy() with an AbortError and returns a promise that fulfills when the stream is finished.

Return Type

Promise<void>
Back to top